#ifndef GROUPSESSIONDETAILWIDGET_H
#define GROUPSESSIONDETAILWIDGET_H

#include <QDialog>
#include <QWidget>
#include <QVBoxLayout>
#include <QScrollArea>
#include <QScrollBar>
#include <QGridLayout>
#include <QPushButton>

#include "sessiondetailwidget.h"
#include "debug.h"

class GroupSessionDetailWidget : public QDialog
{
    Q_OBJECT
public:
    GroupSessionDetailWidget(QWidget *parent = nullptr);

    void addMember(AvatarItem *avatarItem);

private:
    QScrollArea *_scrollArea;
    QWidget *_container;
    QGridLayout *_glayout;
    AvatarItem *_addBtn;
    QLabel *_groupNameTag;
    QLabel *_groupNameLabel;
    QPushButton *_modifyBtn;
    QPushButton *_exitGroupBtn;

    int _memberNumber = 1;
};

#endif // GROUPSESSIONDETAILWIDGET_H
